<!DOCTYPE html>
<html>
<head>
	<meta charset="UTF-8" />
	<title>堆</title>
</head>
<body>
	<script src="../../src/ShellSort.js"></script>
	<script src="../../src/Heap.js"></script>
	<script>
		var heap = new Heap();
		heap.insert(5);
		heap.insert(7);
		heap.insert(15);
		heap.insert(2);
		heap.insert(3);
		heap.insert(9);
		heap.insert(8);

		console.log('delete:'+heap.deleteNode());
		console.log('delete:'+heap.deleteNode());
		console.log('delete:'+heap.deleteNode());
		console.log('delete:'+heap.deleteNode());
		console.log('delete:'+heap.deleteNode());
		console.log('delete:'+heap.deleteNode());
		console.log('delete:'+heap.deleteNode());
		console.log('delete:'+heap.deleteNode());
		console.log('delete:'+heap.deleteNode());


	</script>
</body>
</html>